package com.geostar.constructionland.common.entity.dlbm;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author chengan
 * @description 地类编码版本表
 */

@Data
@ApiModel("地类编码版本")
@TableName("VERSION_DLBM")
public class DlbmVersion {
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    @ApiModelProperty("地类编码Id")
    private String id;

    @ApiModelProperty("版本号")
    @TableField
    private String versionNumber;

    @ApiModelProperty("开始时间")
    @TableField
    private Date startTime;

    @ApiModelProperty("结束时间")
    @TableField
    private Date endTime;

    @ApiModelProperty("状态")
    @TableField
    private String status;

    @ApiModelProperty("备注")
    @TableField
    private String remark;

    @TableField(exist = false)
    private String startTimeString;

    @TableField(exist = false)
    private String endTimeString;
}
